//
//  HomePage.swift
//  youpeng
//
//  Created by 邓书哲 on 2022/12/12.
//

import SwiftUI

struct HomePage: View {
    var body: some View {
        TabView {
            Text("首页")
                .tabItem {
                    Image(systemName: "house.fill")
                    Text("首页")
                }
            Text("消息")
                .tabItem {
                    Image(systemName: "envelope.fill")
                    Text("消息")
                }
            Text("我的")
                .tabItem {
                    Image(systemName: "person.fill")
                    Text("我的")
                }
        }
    }
}

struct HomePage_Previews: PreviewProvider {
    static var previews: some View {
        HomePage()
    }
}
